<div class="btn-group pull-right" style="margin-right: 10px">
    <a class="btn btn-sm btn-twitter" href="{{ $downloadUrl }}" target="_blank"><i class="fa fa-download"></i> 导出</a>
</div>
<div class="btn-group pull-right" style="margin-right: 10px">
    <a class="btn btn-sm btn-primary" href="/xqc/quality/complaint-upload"><i class="fa fa-upload"></i>&nbsp;导入</a>
</div>
<div class="btn-group pull-right" style="margin-right: 10px">
    <a class="btn btn-sm btn-success" href="/xqc/quality/complaint/create"><i class="fa fa-plus"></i>&nbsp;新增</a>
</div>
<div class="btn-group pull-right" style="margin-right: 10px">
    <button class="btn btn-sm btn-default check-modal"><i class="fa fa-check-circle"></i>&nbsp;反馈重复录入检测</button>
</div>
<div class="modal fade" id="checkModal" tabindex="-1" data-backdrop="static" data-keyboard="false">
    <div class="modal-dialog">
        <div class="modal-content">
            <!-- 内容会加载到这里 -->
        </div><!-- /.modal-content -->
    </div><!-- /.modal-dialog -->
</div><!-- /.modal -->
<script language="JavaScript" type="text/javascript">
    $('.check-modal').on('click', function(e) {
        e.preventDefault();
        $("#checkModal").modal({
            remote : '/xqc/quality/complaint-modal?action=checkContent'
        });
    });
    $("#checkModal").on("hidden.bs.modal", function() {
        $(this).removeData("bs.modal");
        $(this).find(".modal-content").children().remove();
    });
</script>
